package com.lyw.mall.gateway.dao;

import com.lyw.mall.gateway.entity.RoleEntity;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 后台用户角色表
 * 
 * @author liyawei
 * @email liyawei@gmail.com
 * @date 2023-01-10 21:38:47
 */
@Mapper
public interface RoleDao extends BaseMapper<RoleEntity> {
    IPage<Map<String, Object>> selectPageList(Page<Map<String, Object>> result, @Param(Constants.WRAPPER) LambdaQueryWrapper<RoleEntity> lqw);
}
